<form id="add-salariu-form" class="add-cheltuiala-form" name="<?php echo strtolower($form->getModelName()) ?>" request="<?php echo url_for($form->request)?>" action="javascript:void(0)" autocomplete="off">

    <?php echo $form->renderHiddenFields(); ?>

    <div class="container ui-helper-clearfix">

        <div class="col form-fields">
            <div class="note">Cămpurile marcate cu '*' sunt obligatorii</div><br />

            <?php include_partial('global/form_layout', array('form' => $form)); ?>

            <div class="criteriu-forms-container">
            <?php foreach ( $form->getCriteriuForms() as $criteriuForm ): ?>
                <?php echo $criteriuForm ?>
            <?php endforeach; ?>
            </div>

        </div>

        <div class="col apartamente">

            <h3>Selectaţi apartamentele:</h3>
            <?php include_component('apartamente', 'widget') ?>

        </div>

    </div>

    <div class="action-buttons">
        <input type="submit" value="adaugă salariul" />
        <input type="reset" value="anulează" />
    </div>

    <div class="error-container"></div>

</form>
